import request from '@/utils/request'

export function getPos (params) {
  return request({
    url: '/pos/getPos',
    method: 'get',
    params
  })
}

export function getPosList (params) {
  return request({
    url: '/pos/getPos',
    method: 'get',
    params
  })
}


export function deletePosById (id) {
  return request({
    url: '/pos/deleteById',
    method: 'get',
    params: { id }
  })
}
